﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Filter;
using Filter.Attributes;
using Filter.Model;
using Test;
using System.Diagnostics;
using System.Linq.Expressions;
using Service;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadKey();
        }

        public async Task<string[]> InvokeAsync()
        {
            var serviceTest = new ServiceTest();
            IServiceTest serviceProxy = EmitGenerator<IServiceTest>.GenerateProxy<ServiceTest>(serviceTest);
            return await serviceProxy.GetValues();
        }
    }
}
